import i18n from '@src/locales';
import FormLinkmanSetting from './FormLinkmanSetting.vue';
import FormLinkmanPreview from './FormLinkmanPreview.vue';
import FormLinkman from './FormLinkman.vue';

let FormLinkManField = {
  formType: 'linkman',
  fieldName: 'linkman',
  name: i18n.t('common.form.type.linkman'),
  isSystem: 1,
  isSystemControl: true,
  forceDelete: true,
  previewIcon: 'icon-name',
  component: {
    setting: FormLinkmanSetting,
    preview: FormLinkmanPreview,
    build: FormLinkman,
    extend: {
      'contract_linkman_setting': FormLinkmanSetting,
      'projectType_linkman_setting': FormLinkmanSetting
    }
  }
};

export default FormLinkManField;
